import {defineStore} from 'pinia';
const appStore = defineStore('appStore',{
    state: () => ({
        sidebar: {
            opened: true
        },
        pageSize: 10,
        pageNumber: 1
    }),
    getters: {
        getSidebar() {
            return scale.sidebar.opened;
        },
    },
    actions: {
        toggleSidebar() {
            scale.sidebar.opened = !scale.sidebar.opened;
        }
    }
});

export default appStore;